package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Majorexpandapproval;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YHX
 * @date 2019/7/29  9:02
 * @description
 */
public interface MajorexpandapprovalMapper {
    int deleteByPrimaryKey(@Param("scId") String scId, @Param("mjId") String mjId);

    int insert(Majorexpandapproval record);

    int insertSelective(Majorexpandapproval record);

    Majorexpandapproval selectByPrimaryKey(@Param("scId") String scId, @Param("mjId") String mjId);

    int updateByPrimaryKeySelective(Majorexpandapproval record);

    int updateByPrimaryKey(Majorexpandapproval record);

    int insertList(@Param("list") List<Majorexpandapproval> majorexpandapprovals);

    List<Majorexpandapproval> selectAllMajorexpandapproval(@Param("pageNum")int pageNum,
                                                           @Param("pageSize")int pageSize);
}